package com.borrowed.book.book.mapper;

import com.borrowed.book.book.domain.SLabel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SLabelMapper {
    int insert(SLabel record);

    int insertSelective(SLabel record);
    //删除标签
    int deleteLabel(Long id);
    //删除图书标签关联关系
    int deleteBookLabelRel(Long labelId);
    //查询标签
    List<SLabel>  selectLabelList();
}